import request from '../utils/request';
export async function createRecord(body) {
  return request('/api/experiment/record/create', {
    method: 'POST',
    body,
  });
}
export async function findRecordMany(body) {
  return request('/api/experiment/record/find/many', {
    method: 'POST',
    body,
  });
}
export async function deleteRecord(body) {
  return request('/api/experiment/record/delete', {
    method: 'POST',
    body,
  });
}
export async function updateRecord(body) {
  return request('/api/experiment/record/update', {
    method: 'POST',
    body,
  });
}

export async function createStore(body) {
  return request('/api/experiment/store/create', {
    method: 'POST',
    body,
  });
}
export async function findStoreMany(body) {
  return request('/api/experiment/store/find/many', {
    method: 'POST',
    body,
  });
}

export async function updateStore(body) {
  return request('/api/experiment/store/update', {
    method: 'POST',
    body,
  });
}
export async function deleteStore(body) {
  return request('/api/experiment/store/delete', {
    method: 'POST',
    body,
  });
}
